
import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  redirect: '/management',
  children: [{
    path: '/management',
    component: () => import('@/views/management/index'),
    children: [{
      path: 'dict',
      component: () => import('@/views/management/dict/index')
    }, {
      path: 'setting',
      component: () => import('@/views/management/setting/index')
    }, {
      path: 'permission',
      component: () => import('@/views/management/permission/index')
    }, {
      path: 'warehouse',
      component: () => import('@/views/management/warehouse/index')
    },  {
      path: 'corp',
      component: () => import('@/views/management/corp/index')
    }, {
      path: 'userGroup',
      component: () => import('@/views/management/userGroup/index')
    }, {
      path: 'user',
      component: () => import('@/views/management/user/index')
      },
      , {
        path: 'defaultUser',
        component: () => import('@/views/management/defaultUser/index.vue')
      }
    ]
  }]
}
